<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class SliderWidget extends CWidget
{
    public function run()
    {
        $img = images::model()->findAll();
        $this->render('slider',array("img"=>$img));
    }
}
?>
